<!DOCTYPE html>
<html lang="en">
<head>
    <!--
    @Author 硕鼠
    @Date 2020/4/7 8:54
    @Version 1.0
    @Description 隐式类型转换
  -->
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var a = 5;
        var b = '5';
        // alert(a == b);//先转换类型然后比较
        alert(a === b); //不转换类型进行比较
    </script>
</head>
<body>

</body>
</html>